add_swift_unittest(SwiftParseTests
  BuildConfigTests.cpp
  LexerTests.cpp
  LexerTriviaTests.cpp
  SyntaxParsingCacheTests.cpp
  TokenizerTests.cpp
)

target_link_libraries(SwiftParseTests
    PRIVATE
    swiftSIL
    swiftClangImporter
    swiftParse
    swiftAST
    # FIXME: Sema must go last because of circular dependencies with AST.
    swiftSema
)
